<?php

namespace Tests;

use Fize\Third\FuTu\FuTu;
use PHPUnit\Framework\TestCase;

class TestFuTu extends TestCase
{

    public function testQot_GetSecuritySnapshot()
    {
        $futu = new FuTu();
        $result = $futu->Qot_GetSecuritySnapshot(['300059', '000661', '002197', '600358']);
        var_export($result);
        self::assertIsArray($result);
    }

    public function testQot_GetMarketState()
    {
        $futu = new FuTu();
        $result = $futu->Qot_GetSecuritySnapshot(['300059', '000661', '002197', '600358']);
        var_export($result);
        self::assertIsArray($result);

        $result = $futu->Qot_GetMarketState(['300059', '000661']);
        var_export($result);
        self::assertIsArray($result);
    }
}
